 
package com.zdkj.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.admin.api.entity.SwStWebNotic;
import com.zdkj.admin.mapper.SwStWebNoticMapper;
import com.zdkj.admin.service.SwStWebNoticService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 系统通知主表
 *
 * @author zdkj code generator
 * @date 2020-05-12 17:33:55
 */
@Service
@AllArgsConstructor
public class SwStWebNoticServiceImpl extends ServiceImpl<SwStWebNoticMapper, SwStWebNotic> implements SwStWebNoticService {

    private final SwStWebNoticMapper swStWebNoticMapper;
    @Override
    public Page pageLink(Page page, QueryWrapper<SwStWebNotic> query) {
        return page.setRecords(swStWebNoticMapper.pageLink(page,query));
    }
}
